!(function (doc) {
    let exploreAds = doc.querySelector('#ads') //检测是否存在id叫这个名字的dom
    if (!exploreAds) {
        let ads = doc.createElement('div')
        ads.id = 'ads';
        doc.body.appendChild(ads)
    }
})(document)